package smack.client.gui;

import java.io.BufferedInputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.SocketException;

import org.jivesoftware.smack.XMPPConnection;

class ReadWriteThread implements Runnable {

    private final MessageCallback msgCallback;

    private boolean isRunning;
    
    private final XMPPConnection connection;

    public ReadWriteThread(final XMPPConnection connection, final MessageCallback callback) {
        this.connection = connection;
        this.msgCallback = callback;
        isRunning = true;
    }

    @Override
    public void run() { 
    	
    }

    public void stop() {
        isRunning = false;
    }

    public void send(final String message) {
    }
    
    interface MessageCallback {

        void onMessageSent();
        
        void onException(Exception e);

        void onDisconnect();

        void onInbound(String message);

        void onOutbound(String message);
    }
    
}
